
/*
 * route.js
 * 全局路由配置
 */
const layout = resolve => require(['../components/Layout'], resolve),
home = resolve => require(['../components/home'], resolve),
  nouse = null//这行别动,用来占位,在上面新加,新加行要加尾逗号
let routes = [
  {
    path: '/', component: layout, children: [
      { path: '/', component: home,name:'home'},
    ]
  },
];
export default routes